ip split-horizon

This command controls the split-horizon on the interface. A Split horizon is a way of preventing a routing loop in a network. Information about the routing for a specific packet is never sent back in the direction from which it was received.

Default is ip split-horizon. If you don't perform split-horizon on the interface, please specify no ip split-horizon.

Syntax

ip split-horizon 
no ip split-horizon

Default

NA

Command Mode

Privileged User

Example

This example sets split horizon on the VLAN 2 interface.

(config-data)# interface vlan 2 
(conf-if VLAN 2)# ip split-horizon